<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>差旅费住宿标准查询</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <meta name="apple-touch-fullscreen" content="YES">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <link rel="stylesheet" type="text/css" href="/Public/projects/travelexpense/style/base.css">
    <link rel="stylesheet" type="text/css" href="/Public/projects/travelexpense/libs/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="/Public/projects/travelexpense/style/index.css?v=1">
    <!-- <link rel="stylesheet/less" type="text/css" href="/Public/projects/travelexpense/style/index.less"> -->
</head>
<body>

<div id="home" fragment class="">
    <!-- zoom-base 根据设计尺寸的宽(375) 来这是大小的等比缩放-->
    <div class="top" zoom-base="375">
        <div class="blank_line4"></div>
        <img class="" id="launch-img" src="/Public/projects/travelexpense/assets/images/launch_start.gif">
        <div class="info">
            <div class="div-line v-center h-center"></div>
            <div class="info-left">
                <div class="date tab">
                    <div class="ico bg-img v-center"></div>
                    <div class="txt">月份</div>
                </div>
                <div class="date selector">
                    <div class="swiper-container" id="date-selector">
                        <div class="cloth"></div>
                        <div class="swiper-wrapper">
                            <div class="swiper-slide">
                                <span class="month-num">0</span>
                                <span class="month-tag">月</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="info-right">
                <div class="addr tab">
                    <div class="ico bg-img v-center"></div>
                    <div class="txt">地点</div>
                </div>
                <div class="city selector" id="btn-citySelector">
                    <span class="placeholder">请选择</span>
                    <div class="prov none"></div>
                    <div class="city none"></div>
                </div>
            </div>
        </div>

        <div class="history-tag">
            <div class="tag-wrap">
                <span class="tag">常用地点：</span>
                <div class="ico-delete bg-img"></div>
            </div>
        </div>
    </div>

    <div class="price-block none">
        <div class="wrap">
            <div class="date-addr-wrap">
                <div class="date tab">
                    <div class="ico bg-img v-center"></div>
                    <div class="txt">10月</div>
                </div>
                <div class="addr tab">
                    <div class="ico bg-img v-center"></div>
                    <div class="txt">黑龙江 黑龙江</div>
                </div>
            </div>
            <div class="price-wrap">
                <div class="price-item">
                    <span class="lv1">厅级</span>
                    <span>￥</span>
                    <span class="price">0</span>
                    <span>/晚</span>
                </div>
                <div class="price-item">
                    <span class="lv2">其他</span>
                    <span>￥</span>
                    <span class="price">0</span>
                    <span>/晚</span>
                    <span class="wenhao bg-img"></span>
                </div>
                <div class="price-item2 none">
                    <span class="lv1">厅级</span>
                    <span>￥</span>
                    <span class="price">0</span>
                    <span class="price">0</span>
                    <span>/晚</span>
                </div>
                <div class="price-item2 none">
                    <span class="lv2">其他</span>
                    <span>￥</span>
                    <span class="price">0</span>
                    <span class="price">0</span>
                    <span>/晚</span>
                    <span class="wenhao bg-img"></span>
                </div>
            </div>
            <div class="bottom-tag none">
                <span>（上旬）</span>
                <span>（中下旬）</span>
            </div>
        </div>
    </div>

    <div class="price-block-clone none" zoom-base="375">
        <div class="date-addr-wrap">
            <div class="addr"></div>
            <div class="date"></div>
        </div>
        <div class="price-wrap">
            <div class="clone-price">0</div>
            <div class="clone-price">0</div>
        </div>
    </div>

    <div class="bottom">
        <div class="search" id="btn-search">搜 索</div>
    </div>

    <div class="footer">浙报在线财务中心</div>

    <div class="mask guide none">
        <div class="circle">
            <div class="flag bg-img"></div>
        </div>
    </div>

    <div class="mask msg none">
        <div class="block h-center">
            <div class="close">×</div>
            <div class="txt">副处级及以上人员可以一人住单间或标准间。其他人员两人住一个标准间；人员逢单数或性别单数时，由出差人在报销单上注明情况后，住宿标准可按双人标准计算。</div>
        </div>
    </div>
</div>

<div id="prov-selector" class="none prov-selector scroll-y">
    <div class="tag v-center h-center none"></div>
</div>


<!-- ========================================================================= -->
<script src="/Public/projects/travelexpense/libs/jquery-3.1.1.min.js"></script>
<script src="/Public/projects/travelexpense/libs/velocity.min.js"></script>
<script src="/Public/projects/travelexpense/libs/swiper.jquery.min.js"></script>
<!--WeiXin-->
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

<!--BaiDu 统计-->
<script src="/Public/js/common/baidutongji.js"></script>

<!-- <script src="/Public/projects/travelexpense/libs/less.js"></script> -->
<!--common of all js file-->
<script src="/Public/projects/travelexpense/js/common.js"></script>
<script src="/Public/projects/travelexpense/js/router.js"></script>
<!--add self scrip file-->
<script src="/Public/projects/travelexpense/js/index.js?v=4"></script>

<script type="text/javascript">
    $(function(){
        wxShareConfig();
    });
    function getWxShare(cb) {
        ns.ajax({
            url:"expenseWxShare",
            data:{
                url:location.href.split("#")[0]
            },
            success:function (result) {
                if(result.status != 1){
                    //alert(result.msg);
                }else{
                    cb && cb(result);
                }
            }
        });
    }
    function wxShareConfig(){
        getWxShare(function (ws) {
            wx.config({
                debug: false,
                appId: ws['appId'],
                timestamp: ws['timestamp'],
                nonceStr: ws['nonceStr'],
                signature: ws['signature'],
                jsApiList: ['onMenuShareAppMessage','onMenuShareTimeline']
            });
            wx.error(function(res){
                console.log(res);
            });
            wx.ready( function( e ){
                wx.onMenuShareAppMessage({
                    title: "[厉害了]差旅费住宿标准轻松查询",
                    desc: "收藏神器，全国任你行",
                    link: "http://" + window.location.host + "/Wap/Applications/travelExpense",
                    imgUrl: "http://" + window.location.host + "/Public/projects/travelexpense/assets/images/wxshare.jpg",
                    type: 'link',
                    dataUrl: '',
                    success: function () {},
                    cancel: function () {}
                });
                wx.onMenuShareTimeline({
                    title: "[厉害了]差旅费住宿标准轻松查询",
                    link: "http://" + window.location.host + "/Wap/Applications/travelExpense",
                    imgUrl: "http://" + window.location.host + "/Public/projects/travelexpense/assets/images/wxshare.jpg",
                    success: function () {},
                    cancel: function () {}
                });
            })
        });
    }
//    ns.Router.addPageLoadListener("home",wxShareConfig);

    //取得cookie
    function getCookie(name) {
        var nameEQ = name + "=";
        var ca = document.cookie.split(';'); //把cookie分割成组
        for(var i=0;i < ca.length;i++) {
            var c = ca[i]; //取得字符串
            while (c.charAt(0)==' ') { //判断一下字符串有没有前导空格
                c = c.substring(1,c.length); //有的话，从第二位开始取
            }
            if (c.indexOf(nameEQ) == 0) { //如果含有我们要的name
                return unescape(c.substring(nameEQ.length,c.length)); //解码并截取我们要值
            }
        }
        return false;
    }
    //清除cookie
    function clearCookie(name) {
        setCookie(name, "", -1);
    }
    //设置cookie
    function setCookie(name, value, seconds) {
        seconds = seconds || 60*60*24*30; //seconds有值就直接赋值，没有为0，这个根php不一样。
        var expires = "";
        if (seconds != 0 ) { //设置cookie生存时间
            var date = new Date();
            date.setTime(date.getTime()+(seconds*1000));
            expires = "; expires="+date.toGMTString();
        }
        document.cookie = name+"="+escape(value)+expires+"; path=/"; //转码并赋值
    }

</script>

</body>
</html>